﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CharacterFactory
{
    public partial class NewAction : Form
    {
        public string newActionName = "";
        public NewAction()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (newActionNameTextBox.Text != "")
            {
                newActionName = newActionNameTextBox.Text;
                this.Close();
            }
            else
            {
                MessageBox.Show("Please enter a valid name for your project");
            }
        }
    }
}
